#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<assert.h>
size_t str(char* arr)
{
	char* p = arr;
	assert(p != NULL);
	size_t len = 0;
	while (*p != '\0')
	{
		p++;
		len++;
	}
	return len;
}
int main()
{
	char arr[] = "abcdefg";
	size_t ret = str(arr);
	printf("%zd\n", ret);
	return 0;
}